package com.ruoyi.stock2.domain;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 从es中查询与模型相似股票对象 search_from_es
 * 
 * @author ruoyi
 * @date 2021-09-08
 */
public class SearchFromEs extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 代码 */
    @Excel(name = "代码")
    private String symbol;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 日期 */
    @Excel(name = "日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 模型名称 */
    @Excel(name = "模型名称")
    private String modeIdName;

    /** 模型类型 */
    @Excel(name = "模型类型")
    private String modeType;

    /** 与模型相似度 */
    @Excel(name = "与模型相似度")
    private String resultScore;

    /** 行业 */
    @Excel(name = "行业")
    private String industry;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSymbol(String symbol) 
    {
        this.symbol = symbol;
    }

    public String getSymbol() 
    {
        return symbol;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setModeIdName(String modeIdName) 
    {
        this.modeIdName = modeIdName;
    }

    public String getModeIdName() 
    {
        return modeIdName;
    }
    public void setModeType(String modeType) 
    {
        this.modeType = modeType;
    }

    public String getModeType() 
    {
        return modeType;
    }
    public void setResultScore(String resultScore) 
    {
        this.resultScore = resultScore;
    }

    public String getResultScore() 
    {
        return resultScore;
    }
    public void setIndustry(String industry) 
    {
        this.industry = industry;
    }

    public String getIndustry() 
    {
        return industry;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("symbol", getSymbol())
            .append("name", getName())
            .append("createDate", getCreateDate())
            .append("modeIdName", getModeIdName())
            .append("modeType", getModeType())
            .append("resultScore", getResultScore())
            .append("industry", getIndustry())
            .toString();
    }
}
